package edu.sctu.practice.class02.hujie.my_practice.day20151224;

import java.util.Scanner;

/**
 * Created by hp on 2015/12/24.
 */
public class Year {
    Scanner s = new Scanner(System.in);
    int year = s.nextInt();
    public void getyear() {
        if ((year % 4 == 0 && year % 100 == 0) || year % 400 == 0) {
            System.out.println(year + "是润年");
        } else
            System.out.println(year + "不是闰年");
    }
    public void test(){
        if (year!=0){
            getyear();
        }
    }
}
